<%@tag import="java.util.List"%>
<%@tag import="by.epam.communalservices.entity.User"%>
<%@tag import="by.epam.communalservices.dao.jdbc.JdbcDaoUser"%>
<%@tag import="java.sql.Connection"%>

<%
    JdbcDaoUser userDao = new JdbcDaoUser( (Connection) request.getSession().getAttribute("currentConnection") );
    List<User> userList = userDao.findAll();
    
    request.setAttribute("userList", userList);
%>